package com.feel.common.vo;


import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;

import javax.validation.constraints.NotEmpty;
import java.io.Serializable;

@ApiModel(description="当前登录用户信息")
@Data
@AllArgsConstructor
@NoArgsConstructor
@Builder
public class RegisterVo implements Serializable {

    private static final long serialVersionUID = 1L;

    @ApiModelProperty(name = "username", value = "用户名-手机号")
    @NotEmpty(message = "手机号不能为空")
    private String username;

    @ApiModelProperty(name = "password", value = "密码")
    @NotEmpty(message = "密码不能为空")
    private String password;

    @ApiModelProperty(name = "verificationCode", value = "验证码")
    private String verificationCode;

    @ApiModelProperty(name = "parentInvitationCode", value = "父级邀请码")
    private String parentInvitationCode;

}
